package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 sys_student
 * 
 * @author ming
 * @date 2022-02-10
 */
public class SysStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNumber;

    /** 电话 */
    @Excel(name = "电话")
    private String studentTel;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String studentCard;

    /** 专业 */
    @Excel(name = "专业")
    private String deptName;

    /** 年级 */
    @Excel(name = "年级")
    private String studentGrade;

    /** 班级 */
    @Excel(name = "班级")
    private String studentClass;

    /** 学历 */
    @Excel(name = "学历")
    private String studentEdu;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setStudentNumber(String studentNumber) 
    {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() 
    {
        return studentNumber;
    }
    public void setStudentTel(String studentTel) 
    {
        this.studentTel = studentTel;
    }

    public String getStudentTel() 
    {
        return studentTel;
    }
    public void setStudentCard(String studentCard) 
    {
        this.studentCard = studentCard;
    }

    public String getStudentCard() 
    {
        return studentCard;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setStudentGrade(String studentGrade) 
    {
        this.studentGrade = studentGrade;
    }

    public String getStudentGrade() 
    {
        return studentGrade;
    }
    public void setStudentClass(String studentClass) 
    {
        this.studentClass = studentClass;
    }

    public String getStudentClass() 
    {
        return studentClass;
    }
    public void setStudentEdu(String studentEdu) 
    {
        this.studentEdu = studentEdu;
    }

    public String getStudentEdu() 
    {
        return studentEdu;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("studentNumber", getStudentNumber())
            .append("studentTel", getStudentTel())
            .append("studentCard", getStudentCard())
            .append("deptName", getDeptName())
            .append("studentGrade", getStudentGrade())
            .append("studentClass", getStudentClass())
            .append("studentEdu", getStudentEdu())
            .append("sex", getSex())
            .toString();
    }
}
